package com.sky.mapper.user;

import com.sky.pojo.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface UCategoryMapper {

    @Select("select * from category where status =1 and type= #{type}")
    List<Category> list(Integer type);
}
